package com.zdkj.subway.stm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.stm.entity.SwStTvmCheckDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * TVM详细日清点表（主表）
 *
 * @author songtuo
 * @date 2020-03-05 21:04:12
 */
public interface SwStTvmCheckDetailMapper extends BaseMapper<SwStTvmCheckDetail> {

    boolean updateSwStTvmCheckDetailApprovalStatus(@Param("ids") List<Integer> ids, @Param("status") Integer status);

    Map<String, Object> getDateRange(@Param("lineCode") String lineCode, @Param("stationCode") String stationCode,
                                     @Param("revenueTime") String revenueTime);

    Map<String, Object> getDateRangeLog(@Param("lineCode") String lineCode, @Param("stationCode") String stationCode,
                                        @Param("revenueTime") String revenueTime);
}
